package illustration;

import java.util.Vector;


public class Curve {

	private Vector<Double> value;
	private String label;

	public Curve(Vector<Double> val, String lab) {
		label = lab;
                value = new Vector<Double>(val);
	}

        public Curve(String lab) {
                label = lab;
                value = new Vector<Double>();
	}

        public void addValue(Double val) {
                value.add(val);
        }

	public Vector<Double> getValues() {
		return value;
	}

	public String getLabel() {
		return label;
	}
}